﻿namespace BaseData.CommonLib.Constants
{
    public static class ApiRoutes
    {
        private const string Root = "api";
        private const string Version = "v1";
        private const string Base = Root + "/" + Version;

        public static class MaterialCategory
        {
            public const string QueryMaterialCategories = Base + "/materialcategories";

            public const string DeleteMaterialCategory = Base + "/materialcategories/{id}";

            public const string UpdateMaterialCategory = Base + "/materialcategories/{id}";

            public const string CreateMaterialCategory = Base + "/materialcategories";

            public const string GetMaterialCategory = Base + "/materialcategories/{id}";

            public const string ExportMaterialCategory = Base + "/materialcategories/export";

            public const string ExportTemplateMaterialCategory = Base + "/materialcategories/exporttemplate";

            public const string ImportMaterialCategory = Base + "/materialcategories/import";
            
            public const string TreeMaterialCategory = Base + "/materialcategories/tree";
        }
        
        public static class Material
        {
            public const string QueryMaterials = Base + "/materials";

            public const string DeleteMaterial = Base + "/materials/{id}";

            public const string UpdateMaterial = Base + "/materials/{id}";

            public const string CreateMaterial = Base + "/materials";

            public const string GetMaterial = Base + "/materials/{id}";

            public const string ExportMaterial = Base + "/materials/export";

            public const string ExportTemplateMaterial = Base + "/materials/exporttemplate";

            public const string ImportMaterial = Base + "/materials/import";
        }

        public static class CalculateUnit
        {
            public const string QueryCalculateUnits = Base + "/calculateunits";

            public const string DeleteCalculateUnit = Base + "/calculateunits/{id}";

            public const string UpdateCalculateUnit = Base + "/calculateunits/{id}";

            public const string CreateCalculateUnit = Base + "/calculateunits";

            public const string GetCalculateUnit = Base + "/calculateunits/{id}";

            public const string ExportCalculateUnit = Base + "/calculateunits/export";

            public const string ExportTemplateCalculateUnit = Base + "/calculateunits/exporttemplate";

            public const string ImportCalculateUnit = Base + "/calculateunits/import";
        }

        public static class WorkingCalendar
        {
            public const string QueryWorkingCalendars = Base + "/workingcalendars";

            public const string DeleteWorkingCalendar = Base + "/workingcalendars/{id}";

            public const string UpdateWorkingCalendar = Base + "/workingcalendars/{id}";

            public const string CreateWorkingCalendar = Base + "/workingcalendars";

            public const string GetWorkingCalendar = Base + "/workingcalendars/{id}";

            public const string ExportWorkingCalendar = Base + "/workingcalendars/export";

            public const string ExportTemplateWorkingCalendar = Base + "/workingcalendars/exporttemplate";

            public const string ImportWorkingCalendar = Base + "/workingcalendars/import";
        }

        public static class Customer
        {
            public const string QueryCustomers = Base + "/customers";

            public const string DeleteCustomer = Base + "/customers/{id}";

            public const string UpdateCustomer = Base + "/customers/{id}";

            public const string CreateCustomer = Base + "/customers";

            public const string GetCustomer = Base + "/customers/{id}";

            public const string ExportCustomer = Base + "/customers/export";

            public const string ExportTemplateCustomer = Base + "/customers/exporttemplate";

            public const string ImportCustomer = Base + "/customers/import";
            
        }
        
        public static class Supplier
        {
            public const string QuerySuppliers = Base + "/suppliers";

            public const string DeleteSupplier = Base + "/suppliers/{id}";

            public const string UpdateSupplier = Base + "/suppliers/{id}";

            public const string CreateSupplier = Base + "/suppliers";

            public const string GetSupplier = Base + "/suppliers/{id}";

            public const string ExportSupplier = Base + "/suppliers/export";

            public const string ExportTemplateSupplier = Base + "/suppliers/exporttemplate";

            public const string ImportSupplier = Base + "/suppliers/import";
            
        }
        
        public static class Workstation
        {
            public const string QueryWorkstations = Base + "/workstations";

            public const string DeleteWorkstation = Base + "/workstations/{id}";

            public const string UpdateWorkstation = Base + "/workstations/{id}";

            public const string CreateWorkstation = Base + "/workstations";

            public const string GetWorkstation = Base + "/workstations/{id}";

            public const string ExportWorkstation = Base + "/workstations/export";

            public const string ExportTemplateWorkstation = Base + "/workstations/exporttemplate";

            public const string ImportWorkstation = Base + "/workstations/import";
            
        }
        
        
        public static class SaleOrder
        {
            public const string QuerySaleOrders = Base + "/saleorders";

            public const string DeleteSaleOrder = Base + "/saleorders/{id}";

            public const string UpdateSaleOrder = Base + "/saleorders/{id}";

            public const string CreateSaleOrder = Base + "/saleorders";

            public const string GetSaleOrder = Base + "/saleorders/{id}";

            public const string ExportSaleOrder = Base + "/saleorders/export";

            public const string ExportTemplateSaleOrder = Base + "/saleorders/exporttemplate";

            public const string ImportSaleOrder = Base + "/saleorders/import";

        }

        public static class Warehouse
        {
            public const string QueryWarehouses = Base + "/warehouses";

            public const string DeleteWarehouse = Base + "/warehouses/{id}";

            public const string UpdateWarehouse = Base + "/warehouses/{id}";

            public const string CreateWarehouse = Base + "/warehouses";

            public const string GetWarehouse = Base + "/warehouses/{id}";

            public const string ExportWarehouse = Base + "/warehouses/export";

            public const string ExportTemplateWarehouse = Base + "/warehouses/exporttemplate";

            public const string ImportWarehouse = Base + "/warehouses/import";
        }
    }
}